﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Student.Master" AutoEventWireup="true" CodeBehind="Students_Change_Elective.aspx.cs" Inherits="TeamNitro.Student.Students_Change_Elective" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            height: 66px;
        }
        .style4
        {
            height: 42px;
            width: 40px;
        }
        .style6
        {
            height: 66px;
            width: 40px;
        }
        .style7
        {
            width: 40px;
        }
        .style10
        {
            width: 100%;
        }
        .style11
        {
            height: 42px;
        }
        .style12
        {
            height: 66px;
            width: 188px;
        }
        .style14
        {
            width: 188px;
        }
        .style15
        {
            height: 30px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width:100%; height: 221px; font-family: Arial, Helvetica, sans-serif; font-size: medium;">
        <tr>
            <td class="style4">
                </td>
            <td class="style11" colspan="2">
                <h2>
                    <asp:Label ID="Label1" runat="server" Text="Change Elective Subject"></asp:Label>
                </h2>
            </td>
        </tr>
        <tr>
            <td class="style6">
            </td>
            <td class="style12">
                <table class="style10">
                    <tr>
                        <td class="style15">
                            <asp:LinkButton ID="LinkButton1" runat="server" 
                                PostBackUrl="~/Student/Students_AddElective.aspx">Add Elective</asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td class="style15">
                            <asp:LinkButton ID="LinkButton2" runat="server" 
                                PostBackUrl="~/Student/Students_Change_Elective.aspx">Change Elective</asp:LinkButton>
                        </td>
                    </tr>
                </table>
                <br />
            </td>
            <td class="style3">
                Currently, You have taken &nbsp;<asp:Label ID="lblSub" 
                    runat="server" ForeColor="Lime"></asp:Label>
&nbsp;subject in this semester.<br />
                <asp:Label ID="Label4" runat="server" ForeColor="Red" 
                    Text="You need to add at least 1 elective subject first to change" 
                    Visible="False"></asp:Label>
                <br />
            </td>
        </tr>
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style14">
                &nbsp;</td>
            <td>
                <asp:Label ID="Label2" runat="server" 
                    Text="Here are the other available elective subjects that you can choose:" 
                    Visible="False"></asp:Label>
                <br />
                <br />
                <asp:DropDownList ID="ddElective" runat="server" Width="220px" Visible="False">
                </asp:DropDownList>
                <br />
&nbsp;
            </td>
        </tr>
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style14">
                &nbsp;</td>
            <td>
                <asp:Label ID="Label3" runat="server" 
                    Text="Please write some comments for your Elective changing subject:" 
                    Visible="False"></asp:Label>
                <br />
                <br />
                <asp:Label ID="Label5" runat="server" Text="Comments:" Visible="False"></asp:Label>
                <br />
                <asp:TextBox ID="tbxComment" runat="server" Height="80px" TextMode="MultiLine" 
                    Visible="False"></asp:TextBox>
                <br />
                <br />
                <asp:Button ID="Button3" runat="server" Height="34px" Text="Back" 
                    Width="72px" onclick="Button1_Click" Visible="False" />
&nbsp;
                <asp:Button ID="btnSubmitComment" runat="server" Height="34px" Text="Submit" 
                    Width="72px" onclick="btnSubmitComment_Click" Visible="False" />
            </td>
        </tr>
    </table>
    </asp:Content>
